package com.browsesoft.oa;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.browsesoft.htmlcomponent.HTMLBasicComponent;
import com.browsesoft.user.User;

/**
 * 查看过滤起，根据用户对资源进行过滤， 过滤掉用户无权查看的信息
 */
public interface LookFilter {

	/**
	 * @param user
	 *            用户
	 * @param infors
	 *            信息集合
	 * @param component
	 *            组件
	 * @return 用户可查看的信息
	 */
	public List filter(User user, HTMLBasicComponent component, List infors,
			HttpServletRequest request);
}
